Fix crash with insert-file-contents and misdecoded text.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Jan 2014 00:32:30 +0000 (16:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Jan 2014 00:32:30 +0000 (16:32 -0800)
commit413f8cd574df8b874508e810d15a345388d420d6
tree8fc685e9f5166b0c1e4a79480afc31f75a9b09eb
parenta17f09c6de6817e5d61e512ef242476a4eda7243
Fix crash with insert-file-contents and misdecoded text.

* fileio.c (Finsert_file_contents): Set CODING_MODE_LAST_BLOCK
before invoking decode_coding_gap, since there's just one block.
src/ChangeLog
src/fileio.c